package org.qiyu.live.im.core.server.rpc;

import jakarta.annotation.Resource;
import org.apache.dubbo.config.annotation.DubboService;
import org.qiyu.live.im.core.server.Servicer.IRouterHandlerServicer;
import org.qiyu.live.im.core.server.interfaces.rpc.ImRouterHandlerRpc;
import org.qiyu.live.im.dto.ImMsgBody;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2023-12-10 2:14
 */
@DubboService
public class RouterHandlerRpcImpl implements ImRouterHandlerRpc {
    @Resource
    private IRouterHandlerServicer routerHandlerServicer;

    @Override
    public void sendMsg( ImMsgBody imMsgBody) {
        routerHandlerServicer.OnReceive(imMsgBody);
    }
}
